# Contributor: Matthew T Hoare <matthew.t.hoare@gmail.com>
# Maintainer: Matthew T Hoare <matthew.t.hoare@gmail.com>
pkgname=azote
pkgver=1.7.12
pkgrel=0
pkgdesc="Wallpaper and colour manager for Sway, i3 and other window managers"
url="https://github.com/nwg-piotr/azote"
arch="noarch"
license="GPL-3.0-or-later AND BSD-3-Clause"
depends="python3 py3-setuptools py3-gobject3 py3-pillow py3-send2trash feh xrandr"
makedepends="python3"
options="!check" # no checks
source="$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/azote/archive/v$pkgver.tar.gz"

package() {
	install -Dm755 dist/azote "$pkgdir"/usr/bin/azote
	install -D -t "$pkgdir"/usr/share/"$pkgname" dist/azote.svg
	install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_active.png
	install -D -t "$pkgdir"/usr/share/"$pkgname" dist/indicator_attention.png
	install -D -t "$pkgdir"/usr/share/applications dist/azote.desktop
	python3 setup.py install --root="$pkgdir/" --optimize=1
}

sha512sums="aeedf0e50b1ea696c788e25f01724f5588dd61e297b9236485b487af9c87d203df1b948e8be52ff0623d62231d610f6daffd254c55f923645a85e9ebfcce2dd8  azote-1.7.12.tar.gz"
